package com.atguigu.gmall_sugar.service;

import com.atguigu.gmall_sugar.bean.ProvinceStats;
import com.atguigu.gmall_sugar.mapper.ProvinceStatsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: ProvinceStatsService
 * @Description:
 * @Author: kele
 * @Date: 2021/4/29 13:323
 *
 * 处理省份的信息
 **/
@Service
public class ProvinceStatsServiceImp implements ProvinceStatsService{

    @Autowired
    ProvinceStatsMapper provinceStatsMapper;

    @Override
    public List<ProvinceStats> getProvinceStatsByName(int date) {
        return provinceStatsMapper.getProvinceStatsByName(date);
    }
}
